<extend name="Public/List/Common"/>
<block name="pageContent">
    <div class="bjui-pageContent tableContent">
        <table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
            <thead>
            <tr>
                <th>
                        编号                    </th><th>
                        字段名                    </th><th>
                        字段注释                    </th><th>
                        字段定义                    </th><th>
                        数据类型                    </th><th>
                        字段默认值                    </th><th>
                        备注                    </th><th>
                        是否显示                    </th><th>
                        参数                    </th><th>
                        模型id                    </th><th>
                        是否必填                    </th><th>
                        状态                    </th><th>
                        更新时间                    </th><th>
                        创建时间                    </th><th>
                                            </th><th>
                                            </th><th>
                                            </th><th>
                                            </th><th>
                                            </th><th>
                                            </th><th>
                                            </th>                <th width="100">操作</th>
            </tr>
            </thead>
            <tbody>
            
                <volist name="attributeList" id="vo">
            
            <tr>
                <td>
                        {$vo.id}
                    </td><td>
                        {$vo.name}
                    </td><td>
                        {$vo.title}
                    </td><td>
                        {$vo.field}
                    </td><td>
                        {$vo.type}
                    </td><td>
                        {$vo.value}
                    </td><td>
                        {$vo.remark}
                    </td><td>
                        {$vo.is_show}
                    </td><td>
                        {$vo.extra}
                    </td><td>
                        {$vo.model_id}
                    </td><td>
                        {$vo.is_must}
                    </td><td>
                        {$vo.status|columnToName}
                    </td><td>
                        {$vo.update_time|time_format}
                    </td><td>
                        {$vo.create_time|time_format}
                    </td><td>
                        {$vo.validate_rule}
                    </td><td>
                        {$vo.validate_time|time_format}
                    </td><td>
                        {$vo.error_info}
                    </td><td>
                        {$vo.validate_type}
                    </td><td>
                        {$vo.auto_rule}
                    </td><td>
                        {$vo.auto_time|time_format}
                    </td><td>
                        {$vo.auto_type}
                    </td>                <td>
                    <a href="{:U('edit?id='.$arr['id'])}" class="btn btn-green" data-toggle="dialog"  data-id="dialog-normal" data-mask="true"
                       data-title="详细">详细</a>
                    <a href="{:U('del?id='.$arr['id'])}" class="btn btn-red"
                       data-toggle="doajax">删除</a>
                </td>
            </tr>
            
                </volist>
            
            </tbody>
        </table>
    </div>
</block>